package com.vogue.supplymall.shop.exception;

import com.vogue.supplymall.common.constant.ErrorCode;

/**
 * The type Add relevance exception.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-03-28
 */
public class AddRelevanceException extends BaseException {
    /**
     * Instantiates a new Add relevance exception.
     *
     * @param errorCode the error code
     */
    public AddRelevanceException(ErrorCode errorCode) {
        super(errorCode.getCode(),errorCode.getMsg());
    }
}
